/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package be.wiim;

/**
 *
 * @author wim
 */
public class HudsonJob {
    
    String fJobName;
    String fStatus;

    public HudsonJob(String fJobName, String fStatus) {
        this.fJobName = fJobName;
        this.fStatus = fStatus;
    }

    public String getfJobName() {
        return fJobName;
    }

    public String getfStatus() {
        return fStatus;
    }
    
    @Override
    public String toString()
    {
      System.out.println("Job: " + this.getfJobName() + " Status: " + this.getfStatus());
      return "Job: " + this.getfJobName() + " Status: " + this.getfStatus();
    }
}